// import '@babel/polyfill';
import {sum,sub} from './module1';
import {school,msg} from './module2';
import arr from './module3';
import data from '../json/data'
import '../css/demo.css' //此处注意，样式不写from，不拿变量接
import '../css/demo.less'
import '../css/iconfont.css'

console.log(sum(1,9));
console.log(sub(4,3));
console.log(school,msg);
console.log(arr);
console.log(data) //对象

console.log(1 == 1)
const qwe = ()=>{
	console.log(666)
}
qwe()


const p = new Promise((resolve)=>{
	setTimeout(() => {
		resolve('上海不错啊！')
	}, 1000);
})

p.then(
	value => {
		console.log('成功了',value)
	}
)
